/**
 * 
 */
package cw.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.Group;

/**
 * @author Administrator
 *
 */
public interface GroupService {
	
	public int deleteByPrimaryKey(Integer id);

	public int insert(Group record);

	public int insertSelective(Group record);

	public Group selectByPrimaryKey(Integer id);

	public int updateByPrimaryKeySelective(Group record);

	public int updateByPrimaryKey(Group record);
    
	public List<Group> queryGroup(String groupName,String description,String id,Integer offset, Integer pageSize);

	public Integer getTotal(String groupName,String description, String id);
	
	public List<Group> query();
	
	public int deleteAll();
}
